package redis

import (
	"fmt"
	"time"
)

// 储存消息
func RedisSetMessage(userid, ojbectid int, message []byte) {
	key := fmt.Sprintf("userid%d>>>objectid%d_", userid, ojbectid)
	RedisDB.Set(key, message, time.Minute*60)
}
